package com.exteam.common.base;

import android.content.Context;
import android.os.Handler;
import android.view.LayoutInflater;
import android.widget.BaseAdapter;

/**
 * 父类适配器
 *
 * @author sean.yanghy
 * @version v1.0
 * @created 2014-11-21
 */
public abstract class MyBaseAdapter extends BaseAdapter {

    protected Context context;

    protected Handler handler;

    protected LayoutInflater mInflater;


    public MyBaseAdapter(Context context, Handler handler) {
        this.context = context;
        this.handler = handler;
        mInflater = LayoutInflater.from(context);

    }


    @Override
    public Object getItem(int position) {
        return null;
    }

    @Override
    public long getItemId(int position) {
        return position;
    }

}
